package com.edu.zut.domain;

/**
 * @Author 许文科
 * @Date 2023/1/15 16:37
 * @Description paperdetect-bcak
 */
public class MetaVo {
    private String title;//该路由在侧边栏中展示的名字
    private String icon;//设置该路由的图标，对应路径src/assets/icons/svg
    private boolean noCache;//设置为true,则不会被<keep-alive>缓存

    public MetaVo() {
    }

    public MetaVo(String title, String icon, boolean noCache) {
        this.title = title;
        this.icon = icon;
        this.noCache = noCache;
    }

    /**
     * 获取
     *
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     *
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     *
     * @return icon
     */
    public String getIcon() {
        return icon;
    }

    /**
     * 设置
     *
     * @param icon
     */
    public void setIcon(String icon) {
        this.icon = icon;
    }

    /**
     * 获取
     *
     * @return noCache
     */
    public boolean isNoCache() {
        return noCache;
    }

    /**
     * 设置
     *
     * @param noCache
     */
    public void setNoCache(boolean noCache) {
        this.noCache = noCache;
    }

    public String toString() {
        return "MetaVo{title = " + title + ", icon = " + icon + ", noCache = " + noCache + "}";
    }
}
